/**
 * @description 数据模型入口文件
 * @author 追追
 */


const User = require('./User');
const Blog = require('./Blog');

Blog.belongsTo(User,{
    foreignKey:'userId'
});

// User.hasMany(Blog)

module.exports = {
    User,
    Blog
};